//
//  ContentListCell.h
//  yigou
//
//  Created by SunChao on 17/1/11.
//  Copyright © 2017年 hanyiwang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TopicContentModel.h"
#import "DyShare.h"
#import "YXCustomActionSheet.h"
#import "WZLikeCommentToolbar.h"
@protocol ContentListDelegate <NSObject>

@optional
//-(void)didClickContentListWithTbibeID:(NSString *)tribeID;

-(void)didTapTrbibeID:(NSString *)tribeID;


-(void) onLikeWith;

@end

@interface ContentListCell : UITableViewCell <YXCustomActionSheetDelegate,WZLikeCommentToolbarDelegate>
@property (weak, nonatomic) IBOutlet UIImageView *userImg;
@property (weak, nonatomic) IBOutlet UILabel *userName;
@property (weak, nonatomic) IBOutlet UILabel *tribeName;
@property (weak, nonatomic) IBOutlet UIImageView *converImg;
//@property (weak, nonatomic) IBOutlet UILabel *publish_tim;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *contentDesc;

@property (copy, nonatomic) NSDictionary *contentDic;
@property (strong, nonatomic) UILabel *timeLabel;
@property (nonatomic, strong) UIButton *likeCmtButton;
@property (nonatomic, strong) UIButton *commitButton;
@property (nonatomic, strong) UIButton *likeButton;
@property (nonatomic, copy) NSString *likeText;
@property (nonatomic, strong) WZLikeCommentToolbar *likeCommentToolbar;

@property (nonatomic, assign) BOOL isLikeStatus;
//@property (nonatomic, assign) BOOL isCollectStatus;

@property (nonatomic, assign) BOOL isLikeCommentToolbarShow;
@property(nonatomic,weak) id<ContentListDelegate> delegate;

-(void)contentWithDic:(NSDictionary *)contentDic;
-(void) hideLikeCommentToolbar;
@end
